'use client';

import { ReactNode } from 'react';
import { SocketIOProvider } from './socket-io-provider';

interface SocketProviderWrapperProps {
  children: ReactNode;
  projectId?: string;
}

// Socket提供者包装组件
// 这个组件用于在客户端代码中确保Socket提供者的正确使用
export default function SocketProviderWrapper({ 
  children,
  projectId
}: SocketProviderWrapperProps) {
  return (
    <SocketIOProvider projectId={projectId}>
      {children}
    </SocketIOProvider>
  );
} 